import request from '@/utils/request'

// 查询日常报销列表
export function listDailyreimbursement(query) {
  return request({
    url: '/expensereimbursement/dailyreimbursement/list',
    method: 'get',
    params: query
  })
}

// 查询日常报销详细
export function getDailyreimbursement(reimbursementId) {
  return request({
    url: '/expensereimbursement/dailyreimbursement/' + reimbursementId,
    method: 'get'
  })
}

// 新增日常报销
export function addDailyreimbursement(data) {
  return request({
    url: '/expensereimbursement/dailyreimbursement',
    method: 'post',
    data: data
  })
}

// 修改日常报销
export function updateDailyreimbursement(data) {
  return request({
    url: '/expensereimbursement/dailyreimbursement',
    method: 'put',
    data: data
  })
}

// 删除日常报销
export function delDailyreimbursement(reimbursementId) {
  return request({
    url: '/expensereimbursement/dailyreimbursement/' + reimbursementId,
    method: 'delete'
  })
}
